import request from '@/utils/request'

export default {
  // 分页查询讲师的方法
  getTeacherList(current, size) {
    return request({
      url: `/eduservice/teacherfront/getTeacherFrontList/${current}/${size}`,
      method: 'get'
    })
  },
  // 讲师详情的方法
  getTeacherInfo(teacherId) {
    return request({
      url: `/eduservice/teacherfront/getTeacherInfo/${teacherId}`,
      method: 'get'
    })
  }
}
